    <div class="first-nav">
        <h1 class="ui-logo">
            <span class="ico-logo1"></span></h1>
        <ul class="first-menu">
           <% var items;%>
           <% items = [{"key":"dashmgmt", "value":"前台管理", "url":"dashboard.html"}, {"key": "ordermgmt", "value": "订单信息", "url":"orderinfo.html"}, {"key": "infomgmt", "value": "民宿信息", "url":"bnbinfo.html"}, {"key": "roommgmt", "value": "房价房态", "url":"roominfo.html"}, {"key": "socialmgmt", "value": "社交管理", "url":"socialinfo.html"},  {"key": "customermgmt", "value": "客人信息", "url":"customerinfo.html"}, {"key": "statsmgmt", "value": "信息统计", "url":"statsinfo.html"}, {"key": "settingsmgmt", "value": "设置", "url":"settings.html"}], %>

            <% var index = 0; %>
            <% _.each(items, function(item) {%>
            <% if(item.key === nav) {%>
            <li class="mainitem-selected"><a href="javascript:void(0)" id=<%= item.key%>><%= item.value%></a></li>
            <% } else {%>
            <li><a href="<%=item.url%>" id=<%= item.key%>><%= item.value%></a></li>
            <% } %>
            <% index++; %>
            <% });%>
        </ul>
    </div>
    <div class="second-nav">
        <form class="searchForm">
            <input type="text" name="search" id="search" placeholder="客人/手机/订单号" />
            <div style="background:#b5b5b5; float:right;width: 24px;height: 24px;"><input type="submit" value=""></div>
        </form>
    </div>